{template "content","header"} 
<!--main-->
<div class="main" style="margin:15px 0;">
  <div class="col-left">
    <div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> > </span>{catpos($catid)} 列表</div>
    {pc:content action="lists" catid="$catid" num="20" order="id DESC" page="$page"}
    <ul class="list lh24 f14">
      {loop $data $r}
      <li><span class="rt">[{date('Y-m-d',$r[inputtime])}]</span>·<a href="{$r[url]}" target="_blank"{title_style($r[style])}>{str_cut($r['title'],140)}</a></li>
      {if $n%1==0}
      <li class="bk10 hr"></li>
      {/if}
      {/loop}
    </ul>
    <div id="pages" class="text-c">{$pages}</div>
    {/pc} </div>
  <div class="col-auto">
    <div class="box">
      <h5 class="title-2">{$CATEGORYS[$CAT[parentid]][catname]}</h5>
      {pc:content action="category" catid="$parentid" num="12" siteid="$siteid" order="listorder ASC"}
      <ul class="PageNav">
        {loop $data $r}
        <li><a href="{$r[url]}">{$r[catname]}</a></li>
        {/loop}
        <img src="{IMG_PATH}default/pageSideBg.png" />
      </ul>
      {/pc} </div>
    <div class="bk10"></div>
  </div>
</div>
{template "content","footer"}